qCWarning(lcDirectory) << "could not delete file from local DB" << _item->_originalFile;
_state = Finished;
status = _item->_status = SyncFileItem::FatalError;
- _item->_errorString = tr("could not delete file %1 from local DB").arg(_item->_originalFile);
+ _item->_errorString = tr("Could not delete file %1 from local DB").arg(_item->_originalFile);
qCInfo(lcPropagator) << "PropagateDirectory::slotSubJobsFinished"
<< "emit finished" << status;
emit finished(status);
SyncJournalFileRecord parentRec;
if (!propagator()->_journal->getFileRecord(parentPath, &parentRec)) {
- qCWarning(lcPropagateDownload) << "could not get file from local DB" << parentPath;
- done(SyncFileItem::NormalError, tr("could not get file %1 from local DB").arg(parentPath), ErrorCategory::GenericError);
+ qCWarning(lcPropagateDownload) << "Could not get file from local DB" << parentPath;
+ done(SyncFileItem::NormalError, tr("Could not get file %1 from local DB").arg(parentPath), ErrorCategory::GenericError);
return;
}
// to the new record. It is not a problem to skip it here.
SyncJournalFileRecord oldRecord;
if (!propagator()->_journal->getFileRecord(_item->_originalFile, &oldRecord)) {
- qCWarning(lcPropagateRemoteMove) << "could not get file from local DB" << _item->_originalFile;
- done(SyncFileItem::NormalError, tr("could not get file %1 from local DB").arg(_item->_originalFile), ErrorCategory::GenericError);
+ qCWarning(lcPropagateRemoteMove) << "Could not get file from local DB" << _item->_originalFile;
+ done(SyncFileItem::NormalError, tr("Could not get file %1 from local DB").arg(_item->_originalFile), ErrorCategory::GenericError);
return;
}
auto &vfs = propagator()->syncOptions()._vfs;
SyncJournalFileRecord oldRecord;
if (!propagator()->_journal->getFileRecord(fileAlreadyMoved ? previousNameInDb : _item->_originalFile, &oldRecord)) {
- qCWarning(lcPropagateLocalRename) << "could not get file from local DB" << _item->_originalFile;
- done(SyncFileItem::NormalError, tr("could not get file %1 from local DB").arg(_item->_originalFile), ErrorCategory::GenericError);
+ qCWarning(lcPropagateLocalRename) << "Could not get file from local DB" << _item->_originalFile;
+ done(SyncFileItem::NormalError, tr("Could not get file %1 from local DB").arg(_item->_originalFile), ErrorCategory::GenericError);
return;
}